package com.dfrobot.demo.domain.entity;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "category_topic")
public class CategoryTopic {
    @Id
    @Column(name = "category_id")
    private Integer categoryId;

    /**
     * 是否为topic 1 是 0 否
     */
    private Integer topic;

    /**
     * 是否显示为专题页
     */
    @Column(name = "topic_template")
    private Integer topicTemplate;
}